package com.mediacloud.app.newsmodule.view

import android.content.Context
import android.widget.ImageView
import android.widget.TextView
import com.mediacloud.app.newsmodule.R
import com.mediacloud.app.share.view.SharePopGridWindow
import com.utils.ClickUtils

open class CustomSharePopGridWindow(context: Context?) : SharePopGridWindowV2(context) {
    var iv_close: ImageView?=null
    var tv_comment_title:TextView?=null
    init {
        iv_close = contentView.findViewById(R.id.iv_close)
        tv_comment_title = contentView.findViewById(R.id.tv_comment_title)
        iv_close?.setOnClickListener {
            ClickUtils.delayClickable(it)
            cancel()
        }
        tv_comment_title?.includeFontPadding=false
        tv_comment_title?.paint?.isFakeBoldText=true
    }

    override fun getResLayoutId(): Int {
        return R.layout.layout_custom_sharewin
    }






}